package com.xintoucloud.gsv.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.xintoucloud.gsv.entity.RolePermission;
import com.xintoucloud.gsv.mapper.RolePermissionMapper;
import com.xintoucloud.gsv.service.RolePermissionService;

@Service
public class RolePermissionServiceImpl implements RolePermissionService {

	@Autowired
	RolePermissionMapper rolePermissionMapper;
	
	@Override
	public List<RolePermission> list() {
		List<RolePermission> rolePermissions = rolePermissionMapper.list();
		return rolePermissions;
	}
}
